<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="x-ua-compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>{$title}</title>
    <link rel="shortcut icon" href="">
    <link rel="stylesheet" href="/static/index/css/{$controler}.css" />
    <link rel="stylesheet" href="/static/index/css/base.css" />
    <link rel="stylesheet" href="/static/index/css/common.css" />
    <link rel="stylesheet" href="/static/index/css/index.css" />
    <script src="https://unpkg.com/mathjs@6.0.2/dist/math.min.js"></script>
    <script type="text/javascript" src="/static/index/js/html5shiv.js"></script>
    <script type="text/javascript" src="/static/index/js/respond.min.js"></script>
    <script type="text/javascript" src="/static/index/js/jquery-1.11.3.min.js"></script>
</head>
<body>
<div class="header-bar">
    <div class="header-inner">
        <ul class="father">
            <li><a>{$city->name}</a></li>
            <li>|</li>
            <li class="city">
                <a>切换城市<span class="arrow-down-logo"></span></a>
                <div class="city-drop-down">
                    <h3>热门城市</h3>
                    <ul class="son">
                        {volist name="citys" id="vo"}
                        <li><a href="{:url('index/index', ['city' => $vo['uname']])}">{$vo.name}</a></li>
                        {/volist}
                    </ul>

                </div>
            </li>
            {if condition="$user"}
            <li>欢迎你 {$user->username}</li>
            <li><a href="{:url('user/logout')}">退出</a></li>
            {else /}
            <li><a href="/index.php/index/user/register.html">注册</a></li>
            <li>|</li>
            <li><a href="/index.php/index/user/login.html">登录</a></li>
            {/if}
            <li><a href="{:url('bis/login/index')}">商户中心</a></li>
        </ul>
    </div>
</div>